package com.neusoft.acquistion.sensor.consumer.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.neusoft.acquistion.sensor.consumer.entity.Monitor;
import com.neusoft.acquistion.sensor.consumer.mapper.MonitorMapper;
import com.neusoft.acquistion.sensor.consumer.service.IMonitorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 段静迪
 * @since 2024-04-26 09:27:46
 */
@Service
public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> implements IMonitorService {

    @Override
    public List<Monitor> findAll() {
        QueryWrapper<Monitor> queryWrapper = new QueryWrapper<>();
        List<Monitor> lms =  baseMapper.selectList(queryWrapper);
        return  lms;
    }
}
